#ifndef __DINO_GAME_H__
#define __DINO_GAME_H__

#ifdef __cplusplus
extern "C"
{
#endif

#include <stdint.h>

    typedef enum xGameFsm
    {
        GameHello = 0,
        GameStart,
        GameReady,
        GameRun,
        GameJumpUp,
        GameJumpUpHigh,
        GameOver,
        GameEasterEgg,
        GameLowBattery,
        GameMax
    } GameFsm_t;

    void dinoGameInit(uint8_t lowpower);
    void dinoGameProcess(void);
    uint8_t dinoGameGetState(void);
    void dinoGameSetLowPowerShow(void);
#ifdef __cplusplus
}
#endif

#endif // __DINO_GAME_H__